//---------------------------------------------------------------------------

#ifndef FPGL_stair_climbingH
#define FPGL_stair_climbingH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class TFormFPGL_CLIMB : public TForm
{
__published:	// IDE-managed Components
	TGroupBox *GroupBox3;
	TButton *Button_PGRL_Reset;
	TButton *Button_PGRL_Run;
	TButton *Button_PGRL_Train;
	TButton *Button_PGRL_Random;
	TButton *Button_PGRL_Back;
	TButton *Button_PGRL_Max;
	TButton *Button_PGRL_Save;
	TPageControl *PageControl1;
	TTabSheet *TabSheet1;
	TGroupBox *GroupBox1;
	TLabel *Label1;
	TEdit *Edit_theta_1_1;
	TLabel *Label2;
	TEdit *Edit_theta_2_1;
	TLabel *Label3;
	TEdit *Edit_theta_2_2;
	TLabel *Label4;
	TEdit *Edit_theta_3_1;
	TLabel *Label5;
	TEdit *Edit_theta_4_1;
	TLabel *Label7;
	TEdit *Edit_theta_5_1;
	TLabel *Label29;
	TLabel *Label26;
	TLabel *Label27;
	TLabel *Label25;
	TLabel *Label24;
	TLabel *Label23;
	TLabel *Label8;
	TLabel *Label9;
	TEdit *Edit_theta_7_1;
	TEdit *Edit_theta_6_1;
	TLabel *Label10;
	TEdit *Edit_theta_7_2;
	TLabel *Label11;
	TEdit *Edit_theta_7_3;
	TLabel *Label12;
	TEdit *Edit_theta_9_1;
	TLabel *Label13;
	TEdit *Edit_theta_9_2;
	TLabel *Label14;
	TEdit *Edit_theta_10_1;
	TLabel *Label36;
	TLabel *Label35;
	TLabel *Label34;
	TLabel *Label33;
	TLabel *Label32;
	TLabel *Label31;
	TLabel *Label30;
	TLabel *Label15;
	TEdit *Edit_theta_11_1;
	TLabel *Label37;
	TEdit *Edit_acc_x;
	TLabel *Label38;
	TEdit *Edit_acc_y;
	TLabel *Label39;
	TLabel *Label40;
	TEdit *Edit_acc_z;
	TEdit *Edit_reward_S;
	TLabel *Label41;
	TGroupBox *GroupBox2;
	TLabel *Label16;
	TLabel *Label_iteration_no;
	TLabel *Label17;
	TLabel *Label18;
	TLabel *Label19;
	TLabel *Label20;
	TLabel *Label21;
	TLabel *Label22;
	TLabel *Label_policy_no;
	TLabel *Label_ori_reward_C;
	TLabel *Label_best_reward_C;
	TLabel *Label_policy_amount;
	TLabel *Label_falldown_count;
	TLabel *Label_para_relevance;
	TTabSheet *TabSheet2;
	TSaveDialog *SaveDialogCLIMB;
	TButton *Button_PGRL_Reward;
	TButton *Button_START_REC;
	TButton *Button_END_REC;
	TButton *Button_FALL;
	TGroupBox *GroupBox5;
	TCheckBox *CheckBox1;
	TCheckBox *CheckBox2;
	TCheckBox *CheckBox3;
	TCheckBox *CheckBox4;
	TCheckBox *CheckBox5;
	TCheckBox *CheckBox11;
	TCheckBox *CheckBox12;
	TCheckBox *CheckBox13;
	TCheckBox *CheckBox14;
	TCheckBox *CheckBox10;
	TCheckBox *CheckBox9;
	TCheckBox *CheckBox8;
	TCheckBox *CheckBox7;
	TCheckBox *CheckBox6;
	TButton *Button_PR_Reset;
	TLabel *Label6;
	TEdit *Edit_theta_8_1;
	TLabel *Label28;
	TCheckBox *CheckBox15;
	TButton *Button_PR_RC;
	TButton *Button_PR_BT;
	TButton *Button_PR_LC;
	TButton *Button_PR_Clear;
	TEdit *Edit_reward_C;
	TLabel *Label45;
	TGroupBox *GroupBox4;
	TCheckBox *CheckBox_Punishi;
	TLabel *Label42;
	TEdit *Edit_num_ratio;
	TLabel *Label43;
	TEdit *Edit_Kx_C;
	TLabel *Label44;
	TEdit *Edit_Ky_C;
	TLabel *Label46;
	TEdit *Edit_Kx_S;
	TLabel *Label47;
	TEdit *Edit_Ky_S;
	TButton *Button_PR_Enable;
	TButton *Button_PR_Disable;
	TLabel *Label_ori_reward_S;
	TLabel *Label_best_reward_S;
	void __fastcall Button_PGRL_ResetClick(TObject *Sender);
	void __fastcall Button_PGRL_RunClick(TObject *Sender);
	void __fastcall Button_PGRL_TrainClick(TObject *Sender);
	void __fastcall Button_PGRL_RandomClick(TObject *Sender);
	void __fastcall Button_PGRL_BackClick(TObject *Sender);
	void __fastcall Button_PGRL_MaxClick(TObject *Sender);
	void __fastcall Button_PGRL_SaveClick(TObject *Sender);
	void __fastcall Edit_reward_SKeyPress(TObject *Sender, wchar_t &Key);
	void __fastcall Button_PGRL_RewardClick(TObject *Sender);
	void __fastcall Button_START_RECClick(TObject *Sender);
	void __fastcall Button_END_RECCick(TObject *Sender);
	void __fastcall Button_FALLClick(TObject *Sender);
	void __fastcall Button_PR_EnableClick(TObject *Sender);
	void __fastcall Button_PR_DisableClick(TObject *Sender);
	void __fastcall Button_PR_ResetClick(TObject *Sender);
	void __fastcall Edit_theta_1_1KeyPress(TObject *Sender, wchar_t &Key);
	void __fastcall Button_PR_RCClick(TObject *Sender);
	void __fastcall Button_PR_BTClick(TObject *Sender);
	void __fastcall Button_PR_LCClick(TObject *Sender);
	void __fastcall Button_PR_ClearClick(TObject *Sender);
	void __fastcall Edit_num_ratioKeyPress(TObject *Sender, wchar_t &Key);
	void __fastcall Edit_Kx_CKeyPress(TObject *Sender, wchar_t &Key);
	void __fastcall Edit_Ky_CKeyPress(TObject *Sender, wchar_t &Key);
	void __fastcall Edit_Kx_SKeyPress(TObject *Sender, wchar_t &Key);
	void __fastcall Edit_Ky_SKeyPress(TObject *Sender, wchar_t &Key);
private:	// User declarations
public:		// User declarations
	__fastcall TFormFPGL_CLIMB(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFormFPGL_CLIMB *FormFPGL_CLIMB;
//---------------------------------------------------------------------------
#endif
